package homework.billing.meter;

import homework.billing.meter.simple.PrePaidMeter;

public class OfoMeter extends BaseItemsMeter {

    private Meter timeMeter;

    public OfoMeter() {
        timeMeter = new PrePaidMeter(60, 1);
    }

    @Override
    public double mileageCost(float mileage) {
        return 0;
    }

    @Override
    public double waitingMinuteCost(float waiting) {
        return 0;
    }

    @Override
    public double totalMinuteCost(float totalMinute) {
        return timeMeter.cost(totalMinute);
    }
}
